import authList from "./authdata.js";
import subMenus from "../../views/menudata.js";

export default [
  { id: 0, subMenus, authList, desc: "拥有所有权限。", name: "超级管理员" },

  {
    id: 1,
    subMenus: subMenus.filter((v) => v.name === "对账中心"),
    authList,
    desc: "拥有所有部门权限",
    name: "个人用户",
  },
  { id: 2, subMenus, authList, desc: "拥有所有项目权限", name: "税务局用户" },

  { id: 3, subMenus, authList, desc: "拥有所有二级用户权限", name: "公司员工" },
  {
    id: 4,
    subMenus: subMenus.filter((v) => v.name === "市场部"),
    authList,
    desc: "基本权限",
    name: "公司经理",
  },
  {
    id: 5,
    subMenus: subMenus.filter(
      (v) =>
        v.name === "对账中心" || v.name === "资金管理" || v.name === "发票管理"
    ),
    authList,
    desc: "拥有所有权限。",
    name: "企业用户",
  },
];
